package com.nsl.my_youlai.bbu2.model.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nsl.my_youlai.mystar.easy_excel.check.annotations.ExcelInt;
import com.nsl.my_youlai.mystar.easy_excel.check.annotations.ExcelNotNull;
import com.nsl.my_youlai.mystar.easy_excel.check.annotations.ExcelValueRange;
import com.nsl.my_youlai.mystar.easy_excel.model.ExcelStringRecorde;
import lombok.Data;

@Data
public class BbuStatusExcelStringVo extends ExcelStringRecorde {
    @ExcelProperty("地市")
    @ExcelNotNull
    private String city ;
    @ExcelProperty("区县")
    @ExcelNotNull
    private String county ;

    @ExcelProperty(value="制式")
    @ExcelNotNull
    private String generationType ;

    @ExcelProperty("标段")
    @ExcelNotNull
    private String biddingRange ;

    @ExcelNotNull
    @ExcelProperty("原BBU归属TAC")
    @ExcelInt
    private String sourceTac ;

    @ExcelProperty(value="BBU型号")
    @ExcelNotNull
    @ExcelValueRange({"V9200","B8200","BBU3900","BBU3910","BBU5900","EMB6216"})
    private String bbuModel ;
    @ExcelNotNull
    @ExcelProperty("gNodeb Id")
    @ExcelInt
    private String nodeBId ;

    @ExcelProperty("gNodeB Name")
    @ExcelNotNull
    private String nodeBIName ;

    @ExcelNotNull
    @ExcelProperty("机房编号")
    private String apparatusRoomId;

    @ExcelProperty("厂家")
    @ExcelNotNull
    @ExcelValueRange({"华为","中兴","大唐"})
    private String vendor ;

    @ExcelNotNull
    @ExcelProperty(value="板卡类型")
    @ExcelValueRange({"主控板","基带板","电源板","交换板","机框","风扇","机框+风扇"})
    private String boardType ;
//    @ExcelProperty("S/N码")
    @ExcelNotNull
    private String boardSn ;
    @ExcelProperty("板卡型号")
    private String boardModel ;

    @ExcelProperty("槽道号")
    @ExcelInt
    private String slotIndex ;

    @ExcelProperty("总端口数（资源能力端口）")
    private String totalPort ;

    @ExcelProperty("已使用端口")
    private String usedPort ;

    @ExcelProperty("剩余可配小区")
    private String leftPort ;

    @ExcelProperty("是否具备900M能力开放能力")
    private String isAvailableFor900M ;

    @ExcelProperty("能力开放后可开通L10M小区数")
    private String availableCellAmountFor10M ;

    @ExcelProperty("室分or宏站")
    @ExcelNotNull
    @ExcelValueRange({"宏站","室分","宏站&室分"})
    private String macroOrMicro ;
    @ExcelProperty("现有网络制式")
    private String netType ;

    @Override
    public String toString() {
        return "BbuStatusExcelStringVo{" +
                "city='" + city + '\'' +
                ", county='" + county + '\'' +
                ", generationType='" + generationType + '\'' +
                ", biddingRange='" + biddingRange + '\'' +
                ", sourceTac='" + sourceTac + '\'' +
                ", bbuModel='" + bbuModel + '\'' +
                ", nodeBId='" + nodeBId + '\'' +
                ", nodeBIName='" + nodeBIName + '\'' +
                ", apparatusRoomId='" + apparatusRoomId + '\'' +
                ", vendor='" + vendor + '\'' +
                ", boardType='" + boardType + '\'' +
                ", boardSn='" + boardSn + '\'' +
                ", boardModel='" + boardModel + '\'' +
                ", slotIndex='" + slotIndex + '\'' +
                ", totalPort='" + totalPort + '\'' +
                ", usedPort='" + usedPort + '\'' +
                ", leftPort='" + leftPort + '\'' +
                ", isAvailableFor900M='" + isAvailableFor900M + '\'' +
                ", availableCellAmountFor10M='" + availableCellAmountFor10M + '\'' +
                ", macroOrMicro='" + macroOrMicro + '\'' +
                ", netType='" + netType + '\'' +
                '}';
    }
}
